<!DOCTYPE html>
<html lang="en-US">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="language" content="en" />
        <link href="./assets/ffd55088/css/bootstrap.css" rel="stylesheet">
<link href="./assets/5cf9384a/solarized_light.css" rel="stylesheet">
<link href="./assets/6c54116e/style.css" rel="stylesheet">
<script src="./assets/a44cef0f/jquery.js"></script>
<script src="./assets/ffd55088/js/bootstrap.js"></script>
<script src="./assets/8ac4e28a/jssearch.js"></script>    <title>Message, yii\swiftmailer\Message - Yii Framework 2.0 API Documentation</title>
</head>
<body>

<div class="wrap">
    <nav id="w12061" class="navbar-inverse navbar-fixed-top navbar" role="navigation"><div class="navbar-header"><button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#w12061-collapse"><span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span></button><a class="navbar-brand" href="./index.html">Yii Framework 2.0 API Documentation</a></div><div id="w12061-collapse" class="collapse navbar-collapse"><ul id="w12062" class="navbar-nav nav"><li><a href="./index.html">Class reference</a></li>
<li class="dropdown"><a class="dropdown-toggle" href="#" data-toggle="dropdown">Extensions <b class="caret"></b></a><ul id="w12063" class="dropdown-menu"><li><a href="./ext-apidoc-index.html" tabindex="-1">apidoc</a></li>
<li><a href="./ext-authclient-index.html" tabindex="-1">authclient</a></li>
<li><a href="./ext-bootstrap-index.html" tabindex="-1">bootstrap</a></li>
<li><a href="./ext-codeception-index.html" tabindex="-1">codeception</a></li>
<li><a href="./ext-debug-index.html" tabindex="-1">debug</a></li>
<li><a href="./ext-elasticsearch-index.html" tabindex="-1">elasticsearch</a></li>
<li><a href="./ext-faker-index.html" tabindex="-1">faker</a></li>
<li><a href="./ext-gii-index.html" tabindex="-1">gii</a></li>
<li><a href="./ext-imagine-index.html" tabindex="-1">imagine</a></li>
<li><a href="./ext-jui-index.html" tabindex="-1">jui</a></li>
<li><a href="./ext-mongodb-index.html" tabindex="-1">mongodb</a></li>
<li><a href="./ext-redis-index.html" tabindex="-1">redis</a></li>
<li><a href="./ext-smarty-index.html" tabindex="-1">smarty</a></li>
<li><a href="./ext-sphinx-index.html" tabindex="-1">sphinx</a></li>
<li><a href="./ext-swiftmailer-index.html" tabindex="-1">swiftmailer</a></li>
<li><a href="./ext-twig-index.html" tabindex="-1">twig</a></li></ul></li>
<li><a href="./guide-README.html">Guide</a></li></ul><div class="navbar-form navbar-left" role="search">
  <div class="form-group">
    <input id="searchbox" type="text" class="form-control" placeholder="Search">
  </div>
</div>
</div></nav>
    <div id="search-resultbox" style="display: none;" class="modal-content">
        <ul id="search-results">
        </ul>
    </div>

    
<div class="row">
    <div class="col-md-3">
                <div id="navigation" class="list-group"><a class="list-group-item active" href="#navigation-12060" data-toggle="collapse" data-parent="#navigation">yii\swiftmailer <b class="caret"></b></a><div id="navigation-12060" class="submenu panel-collapse collapse in"><a class="list-group-item" href="./yii-swiftmailer-logger.html">Logger</a>
<a class="list-group-item" href="./yii-swiftmailer-mailer.html">Mailer</a>
<a class="list-group-item active" href="./yii-swiftmailer-message.html">Message</a></div></div>    </div>
    <div class="col-md-9 api-content" role="main">
        <h1>Class yii\swiftmailer\Message</h1>
<div class="top-nav">
    <a href="index.html">All Classes</a>
            | <a href="#properties">Properties</a>
                | <a href="#methods">Methods</a>
            </div>

<table class="summaryTable docClass table table-bordered">
    <colgroup>
        <col class="col-name" />
        <col class="col-value" />
    </colgroup>
            <tr><th>Inheritance</th><td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a> &raquo;
<a href="yii-mail-basemessage.html">yii\mail\BaseMessage</a> &raquo;
<a href="yii-base-object.html">yii\base\Object</a></td></tr>
                <tr><th>Implements</th><td><a href="yii-base-configurable.html">yii\base\Configurable</a>, <a href="yii-mail-messageinterface.html">yii\mail\MessageInterface</a></td></tr>
                                    <tr><th>Available since version</th><td>2.0</td></tr>
                    <tr>
          <th>Source Code</th>
          <td><a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php">https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php</a></td>
        </tr>
    </table>

<div class="class-description">
    <p><strong>Message implements a message class based on SwiftMailer.</strong></p>
    
    <p>See also:</p><ul><li><a href="http://swiftmailer.org/docs/messages.html">http://swiftmailer.org/docs/messages.html</a></li><li><a href="yii-swiftmailer-mailer.html">yii\swiftmailer\Mailer</a></li></ul></div>

<a id="properties"></a>

<div class="summary doc-property">
<h2>Public Properties</h2>

<p><a href="#" class="toggle">Hide inherited properties</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-property" />
    <col class="col-type" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Property</th><th>Type</th><th>Description</th><th>Defined By</th>
</tr>
        <tr id="$bcc">
        <td><a href="yii-swiftmailer-message.html#$bcc-detail">$bcc</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The Bcc (hidden copy receiver) addresses of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="$cc">
        <td><a href="yii-swiftmailer-message.html#$cc-detail">$cc</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The Cc (additional copy receiver) addresses of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="$charset">
        <td><a href="yii-swiftmailer-message.html#$charset-detail">$charset</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The character set of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="$from">
        <td><a href="yii-swiftmailer-message.html#$from-detail">$from</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The sender</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="$htmlBody">
        <td><a href="yii-swiftmailer-message.html#$htmlBody-detail">$htmlBody</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>Message HTML content.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr class="inherited" id="$mailer">
        <td><a href="yii-mail-basemessage.html#$mailer-detail">$mailer</a></td>
        <td><a href="yii-mail-mailerinterface.html">yii\mail\MailerInterface</a></td>
        <td>The mailer instance that created this message.</td>
        <td><a href="yii-mail-basemessage.html">yii\mail\BaseMessage</a></td>
    </tr>
            <tr id="$replyTo">
        <td><a href="yii-swiftmailer-message.html#$replyTo-detail">$replyTo</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The reply-to address of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="$signature">
        <td><a href="yii-swiftmailer-message.html#$signature-detail">$signature</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a>|<a href="http://www.php.net/language.types.callable">callable</a>|\Swift_Signer</td>
        <td>Signature specification.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="$subject">
        <td><a href="yii-swiftmailer-message.html#$subject-detail">$subject</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>The message subject</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="$swiftMessage">
        <td><a href="yii-swiftmailer-message.html#$swiftMessage-detail">$swiftMessage</a></td>
        <td>\Swift_Message</td>
        <td>Swift message instance.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="$textBody">
        <td><a href="yii-swiftmailer-message.html#$textBody-detail">$textBody</a></td>
        <td><a href="http://www.php.net/language.types.string">string</a></td>
        <td>Message plain text content.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="$to">
        <td><a href="yii-swiftmailer-message.html#$to-detail">$to</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>The message recipients</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
    </table>
</div>

<a id="methods"></a>

<div class="summary doc-method">
<h2>Public Methods</h2>

<p><a href="#" class="toggle">Hide inherited methods</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-method" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Method</th><th>Description</th><th>Defined By</th>
</tr>
        <tr class="inherited" id="__call()">
        <td><a href="yii-base-object.html#__call()-detail">__call()</a></td>
        <td>Calls the named method which is not a class method.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__construct()">
        <td><a href="yii-base-object.html#__construct()-detail">__construct()</a></td>
        <td>Constructor.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__get()">
        <td><a href="yii-base-object.html#__get()-detail">__get()</a></td>
        <td>Returns the value of an object property.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__isset()">
        <td><a href="yii-base-object.html#__isset()-detail">__isset()</a></td>
        <td>Checks if a property is set, i.e. defined and not null.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__set()">
        <td><a href="yii-base-object.html#__set()-detail">__set()</a></td>
        <td>Sets value of an object property.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="__toString()">
        <td><a href="yii-mail-basemessage.html#__toString()-detail">__toString()</a></td>
        <td>PHP magic method that returns the string representation of this object.</td>
        <td><a href="yii-mail-basemessage.html">yii\mail\BaseMessage</a></td>
    </tr>
            <tr class="inherited" id="__unset()">
        <td><a href="yii-base-object.html#__unset()-detail">__unset()</a></td>
        <td>Sets an object property to null.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr id="addSignature()">
        <td><a href="yii-swiftmailer-message.html#addSignature()-detail">addSignature()</a></td>
        <td>Adds message signature.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="attach()">
        <td><a href="yii-swiftmailer-message.html#attach()-detail">attach()</a></td>
        <td>Attaches existing file to the email message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="attachContent()">
        <td><a href="yii-swiftmailer-message.html#attachContent()-detail">attachContent()</a></td>
        <td>Attach specified content as file for the email message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr class="inherited" id="canGetProperty()">
        <td><a href="yii-base-object.html#canGetProperty()-detail">canGetProperty()</a></td>
        <td>Returns a value indicating whether a property can be read.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="canSetProperty()">
        <td><a href="yii-base-object.html#canSetProperty()-detail">canSetProperty()</a></td>
        <td>Returns a value indicating whether a property can be set.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="className()">
        <td><a href="yii-base-object.html#className()-detail">className()</a></td>
        <td>Returns the fully qualified name of this class.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
                    <tr id="embed()">
        <td><a href="yii-swiftmailer-message.html#embed()-detail">embed()</a></td>
        <td>Attach a file and return it's CID source.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="embedContent()">
        <td><a href="yii-swiftmailer-message.html#embedContent()-detail">embedContent()</a></td>
        <td>Attach a content as file and return it's CID source.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="getBcc()">
        <td><a href="yii-swiftmailer-message.html#getBcc()-detail">getBcc()</a></td>
        <td>Returns the Bcc (hidden copy receiver) addresses of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="getCc()">
        <td><a href="yii-swiftmailer-message.html#getCc()-detail">getCc()</a></td>
        <td>Returns the Cc (additional copy receiver) addresses of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="getCharset()">
        <td><a href="yii-swiftmailer-message.html#getCharset()-detail">getCharset()</a></td>
        <td>Returns the character set of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="getFrom()">
        <td><a href="yii-swiftmailer-message.html#getFrom()-detail">getFrom()</a></td>
        <td>Returns the message sender.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="getReplyTo()">
        <td><a href="yii-swiftmailer-message.html#getReplyTo()-detail">getReplyTo()</a></td>
        <td>Returns the reply-to address of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="getSubject()">
        <td><a href="yii-swiftmailer-message.html#getSubject()-detail">getSubject()</a></td>
        <td>Returns the message subject.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="getSwiftMessage()">
        <td><a href="yii-swiftmailer-message.html#getSwiftMessage()-detail">getSwiftMessage()</a></td>
        <td></td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="getTo()">
        <td><a href="yii-swiftmailer-message.html#getTo()-detail">getTo()</a></td>
        <td>Returns the message recipient(s).</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr class="inherited" id="hasMethod()">
        <td><a href="yii-base-object.html#hasMethod()-detail">hasMethod()</a></td>
        <td>Returns a value indicating whether a method is defined.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="hasProperty()">
        <td><a href="yii-base-object.html#hasProperty()-detail">hasProperty()</a></td>
        <td>Returns a value indicating whether a property is defined.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="init()">
        <td><a href="yii-base-object.html#init()-detail">init()</a></td>
        <td>Initializes the object.</td>
        <td><a href="yii-base-object.html">yii\base\Object</a></td>
    </tr>
            <tr class="inherited" id="send()">
        <td><a href="yii-mail-basemessage.html#send()-detail">send()</a></td>
        <td>Sends this email message.</td>
        <td><a href="yii-mail-basemessage.html">yii\mail\BaseMessage</a></td>
    </tr>
            <tr id="setBcc()">
        <td><a href="yii-swiftmailer-message.html#setBcc()-detail">setBcc()</a></td>
        <td>Sets the Bcc (hidden copy receiver) addresses of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
                <tr id="setCc()">
        <td><a href="yii-swiftmailer-message.html#setCc()-detail">setCc()</a></td>
        <td>Sets the Cc (additional copy receiver) addresses of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="setCharset()">
        <td><a href="yii-swiftmailer-message.html#setCharset()-detail">setCharset()</a></td>
        <td>Sets the character set of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="setFrom()">
        <td><a href="yii-swiftmailer-message.html#setFrom()-detail">setFrom()</a></td>
        <td>Sets the message sender.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="setHtmlBody()">
        <td><a href="yii-swiftmailer-message.html#setHtmlBody()-detail">setHtmlBody()</a></td>
        <td>Sets message HTML content.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="setReplyTo()">
        <td><a href="yii-swiftmailer-message.html#setReplyTo()-detail">setReplyTo()</a></td>
        <td>Sets the reply-to address of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="setSignature()">
        <td><a href="yii-swiftmailer-message.html#setSignature()-detail">setSignature()</a></td>
        <td>Sets message signature</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="setSubject()">
        <td><a href="yii-swiftmailer-message.html#setSubject()-detail">setSubject()</a></td>
        <td>Sets the message subject.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="setTextBody()">
        <td><a href="yii-swiftmailer-message.html#setTextBody()-detail">setTextBody()</a></td>
        <td>Sets message plain text content.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="setTo()">
        <td><a href="yii-swiftmailer-message.html#setTo()-detail">setTo()</a></td>
        <td>Sets the message recipient(s).</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="toString()">
        <td><a href="yii-swiftmailer-message.html#toString()-detail">toString()</a></td>
        <td>Returns string representation of this message.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
    </table>
</div>

<div class="summary doc-method">
<h2>Protected Methods</h2>

<p><a href="#" class="toggle">Hide inherited methods</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-method" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Method</th><th>Description</th><th>Defined By</th>
</tr>
                                                            <tr id="createSwiftMessage()">
        <td><a href="yii-swiftmailer-message.html#createSwiftMessage()-detail">createSwiftMessage()</a></td>
        <td>Creates the Swift email message instance.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
            <tr id="createSwiftSigner()">
        <td><a href="yii-swiftmailer-message.html#createSwiftSigner()-detail">createSwiftSigner()</a></td>
        <td>Creates signer from its configuration</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
                                                                        <tr id="setBody()">
        <td><a href="yii-swiftmailer-message.html#setBody()-detail">setBody()</a></td>
        <td>Sets the message body.</td>
        <td><a href="yii-swiftmailer-message.html">yii\swiftmailer\Message</a></td>
    </tr>
                                            </table>
</div>

<a id="events"></a>

<a id="constants"></a>

<h2>Property Details</h2>

<div class="property-doc">

    <div class="detail-header h3" id="$bcc-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#$bcc-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $bcc        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The Bcc (hidden copy receiver) addresses of this message.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-swiftmailer-message.html#getBcc()-detail">getBcc</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setBcc()-detail">setBcc</a></strong> ( <span style="color: #0000BB">$bcc</span> )</div>


    <div class="detail-header h3" id="$cc-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#$cc-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $cc        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The Cc (additional copy receiver) addresses of this message.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-swiftmailer-message.html#getCc()-detail">getCc</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setCc()-detail">setCc</a></strong> ( <span style="color: #0000BB">$cc</span> )</div>


    <div class="detail-header h3" id="$charset-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#$charset-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $charset        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The character set of this message.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-swiftmailer-message.html#getCharset()-detail">getCharset</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setCharset()-detail">setCharset</a></strong> ( <span style="color: #0000BB">$charset</span> )</div>


    <div class="detail-header h3" id="$from-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#$from-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $from        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The sender</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-swiftmailer-message.html#getFrom()-detail">getFrom</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setFrom()-detail">setFrom</a></strong> ( <span style="color: #0000BB">$from</span> )</div>


    <div class="detail-header h3" id="$htmlBody-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#$htmlBody-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $htmlBody        <span class="detail-header-tag small">
            public                                     <em>write-only</em>             property
                    </span>
    </div>

    <div class="doc-description">
        <p>Message HTML content.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setHtmlBody()-detail">setHtmlBody</a></strong> ( <span style="color: #0000BB">$html</span> )</div>


    <div class="detail-header h3" id="$replyTo-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#$replyTo-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $replyTo        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The reply-to address of this message.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-swiftmailer-message.html#getReplyTo()-detail">getReplyTo</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setReplyTo()-detail">setReplyTo</a></strong> ( <span style="color: #0000BB">$replyTo</span> )</div>


    <div class="detail-header h3" id="$signature-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#$signature-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $signature        <span class="detail-header-tag small">
            public                                     <em>write-only</em>             property
                    </span>
    </div>

    <div class="doc-description">
        <p>Signature specification.
See <a href="yii-swiftmailer-message.html#addSignature()-detail">addSignature()</a> for details on how it should be specified.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setSignature()-detail">setSignature</a></strong> ( <span style="color: #0000BB">$signature</span> )</div>


    <div class="detail-header h3" id="$subject-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#$subject-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $subject        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The message subject</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-swiftmailer-message.html#getSubject()-detail">getSubject</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setSubject()-detail">setSubject</a></strong> ( <span style="color: #0000BB">$subject</span> )</div>


    <div class="detail-header h3" id="$swiftMessage-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#$swiftMessage-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $swiftMessage        <span class="detail-header-tag small">
            public                         <em>read-only</em>                         property
                    </span>
    </div>

    <div class="doc-description">
        <p>Swift message instance.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type">\Swift_Message</span> <strong><a href="yii-swiftmailer-message.html#getSwiftMessage()-detail">getSwiftMessage</a></strong> ( )</div>


    <div class="detail-header h3" id="$textBody-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#$textBody-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $textBody        <span class="detail-header-tag small">
            public                                     <em>write-only</em>             property
                    </span>
    </div>

    <div class="doc-description">
        <p>Message plain text content.</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setTextBody()-detail">setTextBody</a></strong> ( <span style="color: #0000BB">$text</span> )</div>


    <div class="detail-header h3" id="$to-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#$to-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $to        <span class="detail-header-tag small">
            public                                                property
                    </span>
    </div>

    <div class="doc-description">
        <p>The message recipients</p>

            </div>

    <div class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-swiftmailer-message.html#getTo()-detail">getTo</a></strong> ( )<br /><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setTo()-detail">setTo</a></strong> ( <span style="color: #0000BB">$to</span> )</div>

</div>
<h2>Method Details</h2>

<div class="method-doc">

    <div class="detail-header h3" id="addSignature()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#addSignature()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L343" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L343" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        addSignature()
        <span class="detail-header-tag small">
            public                                    method
                            (available since version 2.0.6)
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Adds message signature.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#addSignature()-detail">addSignature</a></strong> ( <span style="color: #0000BB">$signature</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$signature</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a>|<a href="http://www.php.net/language.types.callable">callable</a>|\Swift_Signer</td>
                  <td class="param-desc-col"><p>Signature specification, this can be:</p>
<ul>
<li><span class="broken-link">\Swift_Signer</span> instance</li>
<li>callable, which returns <span class="broken-link">\Swift_Signer</span> instance</li>
<li>configuration array for the signer creation</li>
</ul>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidconfigexception.html">yii\base\InvalidConfigException</a></td>
                  <td class="param-desc-col"><p>on invalid signature configuration</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="attach()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#attach()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L248" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L248" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        attach()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Attaches existing file to the email message.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#attach()-detail">attach</a></strong> ( <span style="color: #0000BB">$fileName</span>, <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$fileName</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Full file name</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Options for embed file. Valid options are:</p>
<ul>
<li>fileName: name, which should be used to attach file.</li>
<li>contentType: attached file MIME type.</li>
</ul>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="attachContent()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#attachContent()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L265" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L265" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        attachContent()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Attach specified content as file for the email message.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#attachContent()-detail">attachContent</a></strong> ( <span style="color: #0000BB">$content</span>, <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Attachment file content.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Options for embed file. Valid options are:</p>
<ul>
<li>fileName: name, which should be used to attach file.</li>
<li>contentType: attached file MIME type.</li>
</ul>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="createSwiftMessage()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#createSwiftMessage()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L413" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L413" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        createSwiftMessage()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Creates the Swift email message instance.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type">\Swift_Message</span> <strong><a href="yii-swiftmailer-message.html#createSwiftMessage()-detail">createSwiftMessage</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col">\Swift_Message</td>
                  <td class="param-desc-col"><p>Email message instance.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="createSwiftSigner()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#createSwiftSigner()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L368" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L368" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        createSwiftSigner()
        <span class="detail-header-tag small">
            protected                                    method
                            (available since version 2.0.6)
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Creates signer from its configuration</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type">\Swift_Signer</span> <strong><a href="yii-swiftmailer-message.html#createSwiftSigner()-detail">createSwiftSigner</a></strong> ( <span style="color: #0000BB">$signature</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$signature</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Signature configuration</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col">\Swift_Signer</td>
                  <td class="param-desc-col"><p>Signer instance</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">throws</th>
                  <td class="param-type-col"><a href="yii-base-invalidconfigexception.html">yii\base\InvalidConfigException</a></td>
                  <td class="param-desc-col"><p>on invalid configuration provided</p>
</td>
                </tr>
                        </table>

<!--	-->

    <div class="detail-header h3" id="embed()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#embed()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L282" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L282" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        embed()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Attach a file and return it's CID source.</strong></p>

        <p>This method should be used when embedding images or other data in a message.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-swiftmailer-message.html#embed()-detail">embed</a></strong> ( <span style="color: #0000BB">$fileName</span>, <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$fileName</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>File name.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Options for embed file. Valid options are:</p>
<ul>
<li>fileName: name, which should be used to attach file.</li>
<li>contentType: attached file MIME type.</li>
</ul>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Attachment CID.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="embedContent()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#embedContent()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L298" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L298" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        embedContent()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Attach a content as file and return it's CID source.</strong></p>

        <p>This method should be used when embedding images or other data in a message.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-swiftmailer-message.html#embedContent()-detail">embedContent</a></strong> ( <span style="color: #0000BB">$content</span>, <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <span style="color: #0000BB">$options&nbsp;</span><span style="color: #007700">=&nbsp;[]</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Attachment file content.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$options</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Options for embed file. Valid options are:</p>
<ul>
<li>fileName: name, which should be used to attach file.</li>
<li>contentType: attached file MIME type.</li>
</ul>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Attachment CID.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getBcc()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#getBcc()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L146" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L146" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getBcc()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the Bcc (hidden copy receiver) addresses of this message.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-swiftmailer-message.html#getBcc()-detail">getBcc</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The Bcc (hidden copy receiver) addresses of this message.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getCc()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#getCc()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L128" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L128" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getCc()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the Cc (additional copy receiver) addresses of this message.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-swiftmailer-message.html#getCc()-detail">getCc</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The Cc (additional copy receiver) addresses of this message.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getCharset()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#getCharset()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L56" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L56" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getCharset()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the character set of this message.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-swiftmailer-message.html#getCharset()-detail">getCharset</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The character set of this message.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getFrom()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#getFrom()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L74" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L74" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getFrom()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the message sender.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-swiftmailer-message.html#getFrom()-detail">getFrom</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The sender</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getReplyTo()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#getReplyTo()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L92" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L92" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getReplyTo()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the reply-to address of this message.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-swiftmailer-message.html#getReplyTo()-detail">getReplyTo</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The reply-to address of this message.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getSubject()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#getSubject()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L164" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L164" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getSubject()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the message subject.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-swiftmailer-message.html#getSubject()-detail">getSubject</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The message subject</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getSwiftMessage()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#getSwiftMessage()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L44" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L44" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getSwiftMessage()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">\Swift_Message</span> <strong><a href="yii-swiftmailer-message.html#getSwiftMessage()-detail">getSwiftMessage</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col">\Swift_Message</td>
                  <td class="param-desc-col"><p>Swift message instance.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="getTo()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#getTo()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L110" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L110" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getTo()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns the message recipient(s).</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-swiftmailer-message.html#getTo()-detail">getTo</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The message recipients</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="setBcc()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#setBcc()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L154" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L154" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setBcc()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the Bcc (hidden copy receiver) addresses of this message.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setBcc()-detail">setBcc</a></strong> ( <span style="color: #0000BB">$bcc</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$bcc</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Hidden copy receiver email address.
You may pass an array of addresses if multiple recipients should receive this message.
You may also specify receiver name in addition to email address using format:
<code>[email =&gt; name]</code>.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="setBody()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#setBody()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L206" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L206" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setBody()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the message body.</strong></p>

        <p>If body is already set and its content type matches given one, it will
be overridden, if content type miss match the multipart message will be composed.</p>

            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type">void</span> <strong><a href="yii-swiftmailer-message.html#setBody()-detail">setBody</a></strong> ( <span style="color: #0000BB">$body</span>, <span style="color: #0000BB">$contentType</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$body</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Body content.</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$contentType</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Body content type.</p>
</td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="setCc()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#setCc()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L136" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L136" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setCc()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the Cc (additional copy receiver) addresses of this message.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setCc()-detail">setCc</a></strong> ( <span style="color: #0000BB">$cc</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$cc</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Copy receiver email address.
You may pass an array of addresses if multiple recipients should receive this message.
You may also specify receiver name in addition to email address using format:
<code>[email =&gt; name]</code>.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="setCharset()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#setCharset()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L64" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L64" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setCharset()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the character set of this message.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setCharset()-detail">setCharset</a></strong> ( <span style="color: #0000BB">$charset</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$charset</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Character set name.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="setFrom()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#setFrom()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L82" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L82" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setFrom()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the message sender.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setFrom()-detail">setFrom</a></strong> ( <span style="color: #0000BB">$from</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$from</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Sender email address.
You may pass an array of addresses if this message is from multiple people.
You may also specify sender name in addition to email address using format:
<code>[email =&gt; name]</code>.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="setHtmlBody()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#setHtmlBody()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L192" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L192" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setHtmlBody()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets message HTML content.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setHtmlBody()-detail">setHtmlBody</a></strong> ( <span style="color: #0000BB">$html</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$html</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Message HTML content.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="setReplyTo()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#setReplyTo()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L100" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L100" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setReplyTo()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the reply-to address of this message.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setReplyTo()-detail">setReplyTo</a></strong> ( <span style="color: #0000BB">$replyTo</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$replyTo</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The reply-to address.
You may pass an array of addresses if this message should be replied to multiple people.
You may also specify reply-to name in addition to email address using format:
<code>[email =&gt; name]</code>.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="setSignature()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#setSignature()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L318" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L318" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setSignature()
        <span class="detail-header-tag small">
            public                                    method
                            (available since version 2.0.6)
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets message signature</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setSignature()-detail">setSignature</a></strong> ( <span style="color: #0000BB">$signature</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$signature</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a>|<a href="http://www.php.net/language.types.callable">callable</a>|\Swift_Signer</td>
                  <td class="param-desc-col"><p>Signature specification.
See <a href="yii-swiftmailer-message.html#addSignature()-detail">addSignature()</a> for details on how it should be specified.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="setSubject()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#setSubject()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L172" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L172" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setSubject()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the message subject.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setSubject()-detail">setSubject</a></strong> ( <span style="color: #0000BB">$subject</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$subject</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Message subject</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="setTextBody()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#setTextBody()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L182" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L182" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setTextBody()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets message plain text content.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setTextBody()-detail">setTextBody</a></strong> ( <span style="color: #0000BB">$text</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$text</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Message plain text content.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="setTo()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#setTo()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L118" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L118" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        setTo()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Sets the message recipient(s).</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="yii-swiftmailer-message.html">$this</a></span> <strong><a href="yii-swiftmailer-message.html#setTo()-detail">setTo</a></strong> ( <span style="color: #0000BB">$to</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$to</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a>|<a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>Receiver email address.
You may pass an array of addresses if multiple recipients should receive this message.
You may also specify receiver name in addition to email address using format:
<code>[email =&gt; name]</code>.</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="yii-swiftmailer-message.html">$this</a></td>
                  <td class="param-desc-col"><p>Self reference.</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="toString()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-swiftmailer-message.html#toString()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-swiftmailer/edit/master/Message.php#L404" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-swiftmailer/blob/master/Message.php#L404" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        toString()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Returns string representation of this message.</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-swiftmailer-message.html#toString()-detail">toString</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>The string representation of this message.</p>
</td>
                </tr>
                                    </table>

<!--	-->
</div>
        </div>
</div>

<script type="text/javascript">
    /*<![CDATA[*/
    $("a.toggle").on('click', function () {
        var $this = $(this);
        if ($this.hasClass('properties-hidden')) {
            $this.text($this.text().replace(/Show/,'Hide'));
            $this.parents(".summary").find(".inherited").show();
            $this.removeClass('properties-hidden');
        } else {
            $this.text($this.text().replace(/Hide/,'Show'));
            $this.parents(".summary").find(".inherited").hide();
            $this.addClass('properties-hidden');
        }

        return false;
    });
    /*
     $(".sourceCode a.show").toggle(function () {
     $(this).text($(this).text().replace(/show/,'hide'));
     $(this).parents(".sourceCode").find("div.code").show();
     },function () {
     $(this).text($(this).text().replace(/hide/,'show'));
     $(this).parents(".sourceCode").find("div.code").hide();
     });
     $("a.sourceLink").click(function () {
     $(this).attr('target','_blank');
     });
     */
    /*]]>*/
</script>


</div>

<footer class="footer">
        <p class="pull-right"><small>Page generated on Sat, 09 Jul 2016 12:15:58 +0000</small></p>
    Powered by <a href="http://www.yiiframework.com/" rel="external">Yii Framework</a></footer>

<script type="text/javascript">jQuery(document).ready(function () {
    var shiftWindow = function () { scrollBy(0, -50) };
    if (location.hash) setTimeout(shiftWindow, 1);
    window.addEventListener("hashchange", shiftWindow);
var element = document.createElement("script");
element.src = "./jssearch.index.js";
document.body.appendChild(element);

var searchBox = $('#searchbox');

// search when typing in search field
searchBox.on("keyup", function(event) {
    var query = $(this).val();

    if (query == '' || event.which == 27) {
        $('#search-resultbox').hide();
        return;
    } else if (event.which == 13) {
        var selectedLink = $('#search-resultbox a.selected');
        if (selectedLink.length != 0) {
            document.location = selectedLink.attr('href');
            return;
        }
    } else if (event.which == 38 || event.which == 40) {
        $('#search-resultbox').show();

        var selected = $('#search-resultbox a.selected');
        if (selected.length == 0) {
            $('#search-results').find('a').first().addClass('selected');
        } else {
            var next;
            if (event.which == 40) {
                next = selected.parent().next().find('a').first();
            } else {
                next = selected.parent().prev().find('a').first();
            }
            if (next.length != 0) {
                var resultbox = $('#search-results');
                var position = next.position();

//              TODO scrolling is buggy and jumps around
//                resultbox.scrollTop(Math.floor(position.top));
//                console.log(position.top);

                selected.removeClass('selected');
                next.addClass('selected');
            }
        }

        return;
    }
    $('#search-resultbox').show();
    $('#search-results').html('<li><span class="no-results">No results</span></li>');

    var result = jssearch.search(query);

    if (result.length > 0) {
        var i = 0;
        var resHtml = '';

        for (var key in result) {
            if (i++ > 20) {
                break;
            }
            resHtml = resHtml +
            '<li><a href="' + result[key].file.u.substr(3) +'"><span class="title">' + result[key].file.t + '</span>' +
            '<span class="description">' + result[key].file.d + '</span></a></li>';
        }
        $('#search-results').html(resHtml);
    }
});

// hide the search results on ESC
$(document).on("keyup", function(event) { if (event.which == 27) { $('#search-resultbox').hide(); } });
// hide search results on click to document
$(document).bind('click', function (e) { $('#search-resultbox').hide(); });
// except the following:
searchBox.bind('click', function(e) { e.stopPropagation(); });
$('#search-resultbox').bind('click', function(e) { e.stopPropagation(); });

});</script></body>
</html>
